Package-level declarations
Types
Link copied to clipboard
open class AssistantMessage constructor(val content: String, val name: String? = null, val timestamp: Instant = Instant.now()) : Message, AssistantContent
Message sent by the assistant.
Link copied to clipboard
interface ChatSession
Simplest possible conversation session implementation Responsible for keeping its conversation up to date via Conversation.addMessage(), and for sending messages to the OutputChannel.
Link copied to clipboard
interface Conversation
Conversation shim for agent system. Mutable.
Link copied to clipboard
Format a conversation into a String for inclusion in a prompt. Note that we often prefer to use messages.
Link copied to clipboard
Message class for agent system
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
class SystemMessage constructor(val content: String, val timestamp: Instant = Instant.now()) : Message
Link copied to clipboard
class UserMessage constructor(val content: String, val name: String? = null, val timestamp: Instant = Instant.now()) : Message, UserContent
Message sent by the user.
Link copied to clipboard
class WindowingConversationFormatter constructor(messageFormatter: MessageFormatter = SimpleMessageFormatter, windowSize: Int = 100) : ConversationFormatter
Conversation formatter that shows the last windowSize messages